home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / ds5000.md / RCS / aouthdr.h,v < prev    next >
Encoding:
Text File  |  1990-02-16  |  3.4 KB  |  132 lines

  1. head     1.2;
  2. branch   ;
  3. access   ;
  4. symbols  ;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 1.2
  10. date     90.02.16.12.53.40;  author douglis;  state Exp;
  11. branches ;
  12. next     1.1;
  13.  
  14. 1.1
  15. date     89.08.01.15.38.21;  author douglis;  state Exp;
  16. branches ;
  17. next     ;
  18.  
  19.  
  20. desc
  21. @original ultrix version
  22. @
  23.  
  24.  
  25. 1.2
  26. log
  27. @use sprite format with ifndefs at starts of files
  28. @
  29. text
  30. @/*
  31.  * $Header: /sprite/lib/forms/RCS/proto.h,v 1.2 89/01/07 04:12:44 rab Exp $ SPRITE (Berkeley)
  32.  */
  33.  
  34. #ifndef _AOUTHDR
  35. #define _AOUTHDR
  36.  
  37. /*    @@(#)aouthdr.h    4.1    (ULTRIX)    7/13/88                      */
  38. /* ------------------------------------------------------------------ */
  39. /* | Copyright Unpublished, MIPS Computer Systems, Inc.  All Rights | */
  40. /* | Reserved.  This software contains proprietary and confidential | */
  41. /* | information of MIPS and its suppliers.  Use, disclosure or     | */
  42. /* | reproduction is prohibited without the prior express written   | */
  43. /* | consent of MIPS.                                               | */
  44. /* ------------------------------------------------------------------ */
  45.  
  46. /*    Copyright (c) 1984 AT&T    */
  47. /*      All Rights Reserved      */
  48.  
  49. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
  50. /*    The copyright notice above does not evidence any       */
  51. /*    actual or intended publication of such source code.    */
  52.  
  53. /*
  54.  * Values for the magic field in aouthdr
  55.  */
  56. #ifdef LANGUAGE_C
  57. #define    OMAGIC    0407
  58. #define    NMAGIC    0410
  59. #define    ZMAGIC    0413
  60. #define    LIBMAGIC    0443
  61. #define    N_BADMAG(x) \
  62.     (((x).magic)!=OMAGIC && ((x).magic)!=NMAGIC && ((x).magic)!=ZMAGIC && \
  63.      ((x).magic)!=LIBMAGIC)
  64.  
  65. #endif /* LANGUAGE_C */
  66. #ifdef LANGUAGE_PASCAL
  67. #define    OMAGIC    8#407
  68. #define    NMAGIC    8#410
  69. #define    ZMAGIC    8#413
  70. #define    LIBMAGIC    8#443
  71. #endif /* LANGUAGE_PASCAL */
  72.  
  73. #ifdef LANGUAGE_C
  74. typedef    struct aouthdr {
  75.     short    magic;        /* see above                */
  76.     short    vstamp;        /* version stamp            */
  77.     long    tsize;        /* text size in bytes, padded to DW bdry*/
  78.     long    dsize;        /* initialized data "  "        */
  79.     long    bsize;        /* uninitialized data "   "        */
  80. #if u3b
  81.     long    dum1;
  82.     long    dum2;        /* pad to entry point    */
  83. #endif
  84.     long    entry;        /* entry pt.                */
  85.     long    text_start;    /* base of text used for this file    */
  86.     long    data_start;    /* base of data used for this file    */
  87. #if mips
  88.     long    bss_start;    /* base of bss used for this file    */
  89.     long    gprmask;    /* general purpose register mask    */
  90.     long    cprmask[4];    /* co-processor register masks        */
  91.     long    gp_value;    /* the gp value used for this object    */
  92. #endif /* mips */
  93. } AOUTHDR;
  94. #define AOUTHSZ sizeof(AOUTHDR)
  95. #endif /* LANGUAGE_C */
  96.  
  97. #ifdef LANGUAGE_PASCAL
  98. type
  99.   aouthdr = packed record
  100.       magic : short;            /* see magic.h                 */
  101.       vstamp : short;            /* version stamp             */
  102.       tsize : long;            /* text size in bytes, padded to FW  */
  103.                     /* bdry                  */
  104.       dsize : long;            /* initialized data " "          */
  105.       bsize : long;            /* uninitialized data " "         */
  106. #if u3b
  107.       dum1 : long;
  108.       dum2 : long;            /* pad to entry point             */
  109. #endif
  110.       entry : long;            /* entry pt.                 */
  111.       text_start : long;        /* base of text used for this file   */
  112.       data_start : long;        /* base of data used for this file   */
  113.       bss_start : long;            /* base of bss used for this file    */
  114.       gprmask : long;            /* general purpose register mask     */
  115.       cprmask : array[0..3] of long;    /* co-processor register masks         */
  116.       gp_value : long;            /* the gp value used for this object */
  117.     end {record};
  118. #endif /* LANGUAGE_PASCAL */
  119.  
  120. #endif /* _AOUTHDR */
  121. @
  122.  
  123.  
  124. 1.1
  125. log
  126. @Initial revision
  127. @
  128. text
  129. @d1 7
  130. d91 1
  131. @
  132.